package com.example.dboperate.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 通用（阈值提醒、流量商品激活、人车绑定、人车解绑） 回调日志接口
 * </p>
 *
 * @author scout.du
 * @since 2025-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TCommonNotifyLogs对象", description="通用（阈值提醒、流量商品激活、人车绑定、人车解绑） 回调日志接口")
public class TCommonNotifyLogs implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "供应商id")
      @TableId(value = "log_id", type = IdType.AUTO)
    private Long logId;

    @ApiModelProperty(value = "日志类型 1流量阈值提醒、2流量商品激活、3绑定、4解绑、5赠品开通、6订单推送")
    private Integer logType;

    @ApiModelProperty(value = "供应商编码")
    private String supplierCode;

    @ApiModelProperty(value = "唯一标识")
    private String uniqueCode;

    @ApiModelProperty(value = "车架号")
    private String vin;

    @ApiModelProperty(value = "iccid")
    private String iccid;

    @ApiModelProperty(value = "赠品code")
    private String giftCode;

    @ApiModelProperty(value = "原始数据（未处理）")
    private String originalData;

    @ApiModelProperty(value = "处理方式 0未处理 1app通知 2需要人工处理")
    private Boolean handleType;

    @ApiModelProperty(value = "是否取消 0否 1是")
    private Boolean boolCancel;

    private LocalDateTime cancelTime;

    @ApiModelProperty(value = "数据时间")
    private LocalDateTime dataTime;

    @ApiModelProperty(value = "状态 0停用 1启用")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "是否删除 0否 1是")
    private Boolean deleted;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "预留字段")
    private String attr1;

    @ApiModelProperty(value = "预留字段")
    private String attr2;

    @ApiModelProperty(value = "预留字段")
    private String attr3;

    @ApiModelProperty(value = "预留字段")
    private Integer attr10;

    @ApiModelProperty(value = "预留字段")
    private Integer attr11;

    @ApiModelProperty(value = "预留字段")
    private Integer attr12;


    public static final String LOG_ID = "log_id";

    public static final String LOG_TYPE = "log_type";

    public static final String SUPPLIER_CODE = "supplier_code";

    public static final String UNIQUE_CODE = "unique_code";

    public static final String VIN = "vin";

    public static final String ICCID = "iccid";

    public static final String GIFT_CODE = "gift_code";

    public static final String ORIGINAL_DATA = "original_data";

    public static final String HANDLE_TYPE = "handle_type";

    public static final String BOOL_CANCEL = "bool_cancel";

    public static final String CANCEL_TIME = "cancel_time";

    public static final String DATA_TIME = "data_time";

    public static final String STATUS = "status";

    public static final String REMARK = "remark";

    public static final String DELETED = "deleted";

    public static final String CREATE_TIME = "create_time";

    public static final String CREATE_BY = "create_by";

    public static final String UPDATE_TIME = "update_time";

    public static final String UPDATE_BY = "update_by";

    public static final String ATTR1 = "attr1";

    public static final String ATTR2 = "attr2";

    public static final String ATTR3 = "attr3";

    public static final String ATTR10 = "attr10";

    public static final String ATTR11 = "attr11";

    public static final String ATTR12 = "attr12";

}
